<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ProjectMadaktariMVC.Models.Procedure>" %>

 <div class="procedure_edit"><%= Html.ActionLink("Edit", "EditProcedure", new { procedureId = Model.Id}) %></div>

 <div class="form_block">
    <span class="form_label">Procedure Date</span>
    <%= Model.Date == null ? "--" : ((DateTime)Model.Date).ToString("MM/dd/yyyy")%>
</div>
<div class="form_block">
    <span class="form_label">Procedure</span>
    <%= Model.ProcedureType == null ? "" : Model.ProcedureType.Name%>
</div>
<div class="form_block">
    <span class="form_label">Anesthesia</span>
    <%= Model.Anesthesia%>
</div>
<div class="form_block">
    <span class="form_label">Anesthesia Duration</span>
    <%= Model.AnesthesiaDuration%>
</div>
<div class="form_block">
    <span class="form_label">Surgeon</span>
    <%= Model.Surgeon == null ? "" : Model.Surgeon.LastName%>
</div>
<div class="form_block">
    <span class="form_label">Surgical Complications</span>
    <%= Model.Complications%>
</div>
<div class="form_block">
    <span class="form_label">Case Comments</span>
    <%= Model.CaseComments%>
</div>
<div class="form_block">
    <span class="form_label">Image Findings</span>
    <%= Model.ImageFindings%>
</div>
   